package com.sky.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 阿里云OSS相关配置
 */
@Component
@ConfigurationProperties(prefix = "sky.alioss") //将配置文件中配置项的值自动注入到对象的属性中
@Data
public class AliOssProperties {
    //区域
    private String endpoint;
    //存储空间
    private String bucketName;
}
